package org.soretro.portfolio.view.contacts
{
	import flash.events.Event;
	import flash.events.MouseEvent;
	
	import org.robotlegs.mvcs.Mediator;
	import org.soretro.portfolio.model.MainNavigationModel;
	
	public class ContactMeStripMediator extends Mediator
	{
		[Inject]
		public var view:ContactMeStripRenderer;
		
		[Inject]
//		public var model:MainNavigationModel;
		
		override public function onRegister():void
		{
			view.addEventListener( MouseEvent.CLICK, onClick);
		}
		
		protected function onClick(event:MouseEvent):void
		{
			dispatch( new Event("contactsClicked") );
		}
	}
}